package com.ruoyi.anchor.service;

import com.ruoyi.anchor.domain.Live;
import com.ruoyi.anchor.mapper.LiveMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LiveService {

    @Autowired
    private LiveMapper liveMapper;

    public void save(Live live) {
        liveMapper.insert(live);
    }
}
